package cate.common.table.common;

import cate.common.table.ERow;
import cate.common.table.XSSFRowWrap;
import easy.java.dev.note.NoteField;

public class FuncEnableRow extends ERow {

    @NoteField("功能名称")
    public String name;

    @NoteField("主角等级")
    public int level;

    @NoteField("VIP")
    public int vip;

    @NoteField("世界等级")
    public int worldLevel;

    @NoteField("主线关数")
    public int adventureNum;

    @NoteField("开服天数")
    public int openday;

    @Override
    public void parse(XSSFRowWrap xrw) {
        super.parse(xrw);
        this.id = xrw.getInteger("功能id", 0);
        this.name = xrw.getString("功能名称");
        this.level = xrw.getInteger("主角等级", 0);
        this.vip = xrw.getInteger("VIP", 0);
        this.worldLevel = xrw.getInteger("世界等级", 0);
        this.adventureNum = xrw.getInteger("主线id",0);
        this.openday = xrw.getInteger("开服天数", 0);
    }
}
